<!-- 密码安全策略 -->
<template>
  <el-row class="setting-row">
    <el-col :lg="19" :md="19" :sm="16" :xs="24"
      ><h4 class="setting-key">账号密码复杂度</h4>
      <span class="setting-value"
        >高，密码长度至少
        <el-tag>8</el-tag> 位，必须包含大小写字母、数字和特符号</span
      ></el-col
    >
    <el-col :lg="5" :md="5" :sm="8" :xs="24" class="setting-button"
      ><el-link type="primary" @click="">设置</el-link></el-col
    >
  </el-row>
  <el-row class="setting-row">
    <el-col :lg="19" :md="19" :sm="16" :xs="24"
      ><h4 class="setting-key">自助邮件找回密码</h4>
      <span class="setting-value">开启</span></el-col
    >
    <el-col :lg="5" :md="5" :sm="8" :xs="24" class="setting-button"
      ><el-switch
        v-model="state.emailFindPassword"
        :active-value="1"
        :inactive-value="0"
    /></el-col>
  </el-row>
  <el-row class="setting-row">
    <el-col :lg="19" :md="19" :sm="16" :xs="24"
      ><h4 class="setting-key">强制修改密码</h4>
      <span class="setting-value"
        >密码
        <el-tag>30</el-tag>
        天后过期，必须重置密码，超期未修改密码的账号将自动锁定，无法登录</span
      ></el-col
    >
    <el-col :lg="5" :md="5" :sm="8" :xs="24" class="setting-button"
      ><el-link type="primary" @click="">设置</el-link></el-col
    >
  </el-row>
</template>
<script setup lang="ts">
import { reactive, ref, toRefs } from "vue";

const state = reactive({
  emailFindPassword: 1,
});
</script>
